package com.lzy.shops.service;

import com.lzy.shops.bean.PageBean;
import com.lzy.shops.bean.Search;
import org.apache.ibatis.annotations.Param;

public interface GoodsCarService {
    public PageBean findAll(Integer userId, Search search);
    public Integer addGoodsCar(Integer shopId,Integer nums,Integer userId);
    public Integer findByGoodsCarNums(Integer shopId,Integer userId);
    public Boolean updateGoodsCarNums(Integer id,Integer userId,Integer nums);
    public Integer deleteGoodsCar(Integer userId,Integer carId);
    public Integer deleteGoodsCars(String userId,String carId);
}
